package com.shop.mapper;

import com.shop.pojo.UserDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IUserEditMapper {
    Boolean addUser(@Param("userDTO") UserDTO userDTO);

    Integer editUserState(@Param("state") boolean state, @Param("id") String id);

    Integer editUser(@Param("userDTO") UserDTO userDTO);

    Integer removeUserById(@Param("id") int id);
}
